//
//  DevicesCurrentTemperature-EGS-G2.h
//  iRMAP
//
//  Created by Ryan Enguero on 4/4/14.
//  Copyright (c) 2014 engueroryan. All rights reserved.
//

#import "Devices.h"

@interface DevicesCurrentTemperature_EGS_G2 : Devices

@property (strong, nonatomic) NSString *inFlowSensorStr;
@property (strong, nonatomic) NSString *downFlowSensorStr;
//@property (strong, nonatomic) NSString *deviceTypeStr;

- (NSString*)inflowsensor;
- (NSString*)downflowSensor;
//- (NSString*)deviceType;

+ (DevicesCurrentTemperature_EGS_G2*)devicesWithFreezerID:(NSString*)freezerID andUID:(NSString*)uid andDeviceName:(NSString*)deviceName andCompanyId:(NSString*)companyID andMeasureStatus:(NSString*)measureStatus andMeasureName:(NSString*)measureName andMeasureDescription:(NSString*)measureDescription andMeasureSeverity:(NSString*)measureSeverity andHealthStatusCode:(NSString*)healthStatusCode andHealthStatusText:(NSString*)healthStatustext andHealthStatusColor:(NSString*)healthStatusColor andConnectionState:(NSString*)connectionState andInFlowSensor:(NSString*)inFlowSensor andDownFlowSensor:(NSString*)downFlowSensor andDeviceType:(NSString*)deviceType;


@property (strong, nonatomic) NSString *occuranceTimeStr;
@property (strong, nonatomic) NSString *lowInFlowLimitStr;
@property (strong, nonatomic) NSString *highDownFlowLimitStr;
@property (strong, nonatomic) NSString *lowDownFlowLimitStr;
@property (strong, nonatomic) NSString *highTemperatureLimitStr;
@property (strong, nonatomic) NSString *lowTemperatureLimitStr;
@property (strong, nonatomic) NSString *highDcVoltageLimitStr;
@property (strong, nonatomic) NSString *lowDcVoltageLimitStr;
@property (strong, nonatomic) NSString *temperatureSensorStr;
@property (strong, nonatomic) NSString *dcVoltageStr;

- (NSString*)occuranceTime;
- (NSString*)lowInflowLimit;
- (NSString*)highDownflowLimit;
- (NSString*)lowDownflowLimit;
- (NSString*)highTemperatureLimit;
- (NSString*)lowTemperatureLimit;
- (NSString*)highDcVoltageLimit;
- (NSString*)lowDcVoltageLimit;
- (NSString*)temperatureSensor;
- (NSString*)dcVoltage;

+ (DevicesCurrentTemperature_EGS_G2*)devicesWithFreezerID:(NSString*)freezerID andInFlowSensor:(NSString*)inFlowSensor andDownFlowSensor:(NSString*)downFlowSensor andDeviceType:(NSString*)deviceType andOccuranceTime:(NSString*)occuranceTime andLowInFlowLimit:(NSString*)lowInFlowLimit andHighDownFlowLimit:(NSString*)highDownFlowLimit andLowDownFlowLimit:(NSString*)lowDownFlowLimit andHighTemperatureLimit:(NSString*)highTemperatureLimit andLowTemperatureLimit:(NSString*)lowTemperatureLimit andHighDcVoltageLimit:(NSString*)highDcVoltageLimit andlowDcVoltageLimit:(NSString*)lowDcVoltageLimit andTemperatureSensor:(NSString*)temperatureSensor andDcVoltage:(NSString*)dcVoltage;


//

@property (strong, nonatomic) NSString *occuranceTimeAlarmStr;
@property (strong, nonatomic) NSString *alarmCodeAlarmStr;
@property (strong, nonatomic) NSString *alarmTextAlarmStr;
@property (strong, nonatomic) NSString *measureStatusAlarmStr;
@property (strong, nonatomic) NSString *measureNameAlarmStr;
@property (strong, nonatomic) NSString *measureDescriptionAlarmStr;
@property (strong, nonatomic) NSString *measureSeverityAlarmStr;
@property (strong, nonatomic) NSString *cronStatusAlarmStr;

- (NSString*)occuranceTimeAlarm;
- (NSString*)alarmCodeAlarm;
- (NSString*)alarmTextAlarm;
- (NSString*)measureStatusAlarm;
- (NSString*)measureNameAlarm;
- (NSString*)measureDescriptionAlarm;
- (NSString*)measureSeverityAlarm;
- (NSString*)cronStatusAlarm;

+ (DevicesCurrentTemperature_EGS_G2*)alarmDevicesType:(NSString*)deviceType andFreezerID:(NSString*)freezerID andFreezerName:(NSString*)freezerName andCompanyID:(NSString*)companyID andChamberTemperaturesSensor:(NSString*)chamberTemperatureSensor andChamberSetPoint:(NSString*)chamberSetPoint andOccuranceTime:(NSString*)occuranceTime andAlarmCode:(NSString*)alarmCode andAlarmText:(NSString*)alarmText andMeasureStatus:(NSString*)measureStatus andMeasureName:(NSString*)measureName andMeasureDescription:(NSString*)measureDescription andMeasureSeverity:(NSString*)measureSeverity andCronStatus:(NSString*)cronStatus;

@property (strong, nonatomic) NSString *occuranceTimeEventStr;
@property (strong, nonatomic) NSString *eventCodeStr;

- (NSString*)occuranceTimeEvent;
- (NSString*)eventCode;

+ (DevicesCurrentTemperature_EGS_G2*)eventDeviceType:(NSString*)deviceType andFreezerID:(NSString*)freezerID andFreezerName:(NSString*)freezerName andCompanyID:(NSString*)companyID andChamberTemperatureSensor:(NSString*)chamberTemperatureSensor andChamberSetPoint:(NSString*)chamberSetPoint andOccuranceTime:(NSString*)occuranceTime andEventCode:(NSString*)eventCode;
@end
